cmake_minimum_required(VERSION 3.0)
project(aaa C CXX)

set(CMAKE_VERBOSE_MAKEFILE ON)

add_executable(${PROJECT_NAME} a.cpp)
find_library(printhello_LIBRARY NAMES printhello PATHS ${PROJECT_SOURCE_DIR})
target_link_libraries(${PROJECT_NAME} ${printhello_LIBRARY})

message(STATUS ${USE_TTTT})

if(USE_TTTT)
add_definitions(-DTTTT_ENABLE)
target_link_libraries(${PROJECT_NAME} gomp rt pthread)
endif()

set(USE_TTTT ON)
